package cn.slipi.admin.controller.form.admin;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 管理员创建表单
 */
@Data
public class AdminCreateForm {


    @NotNull(message = "登陆用户名不能为空")
    private String account;

    @NotNull(message = "手机号不能为空")
    private String mobile;

    @NotNull(message = "角色id不能为空")
    private Long roleId;

    @NotNull(message = "是否认证不能为空")
    private Integer check;

}
